<html>
<head><meta charset="utf-8"><title>specify linker script · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/specify.20linker.20script.html">specify linker script</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="238474626"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/specify%20linker%20script/near/238474626" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> luojia65 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/specify.20linker.20script.html#238474626">(May 12 2021 at 13:36)</a>:</h4>
<p>Hi everyone! I have a problem here. How to specify linker script without copying it into output folder in Rust?</p>



<a name="238530509"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/specify%20linker%20script/near/238530509" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/specify.20linker.20script.html#238530509">(May 12 2021 at 19:26)</a>:</h4>
<p>Why would you need to copy it into the output folder?</p>



<a name="238530603"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/specify%20linker%20script/near/238530603" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/specify.20linker.20script.html#238530603">(May 12 2021 at 19:27)</a>:</h4>
<p>I just <a href="https://github.com/shepmaster/rust-arduino-blink-led-no-core-with-cargo/blob/52a9e30694d68f03464012c218619775e7ecb9c0/avr-atmega328p.json#L27-L35">leave it in the top level of my repo</a>.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>